package com.mzpai.product.model;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="商品属性表")
public class StoreProductAttr extends BaseModel{

	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="商品主键ID不必填")
	private Integer productId;
	@ApiModelProperty(value="属性名,单规格时设置为 attrName=规格")
    private String attrName;
	@ApiModelProperty(value="属性值,多规格值逗号分隔,单规格时设置 attrValues=默认 ")
    private String attrValues;
	@ApiModelProperty(value="活动类型 0=商品，1=秒杀，2=砍价，3=拼团")
    private Integer type;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName == null ? null : attrName.trim();
    }

    public String getAttrValues() {
        return attrValues;
    }

    public void setAttrValues(String attrValues) {
        this.attrValues = attrValues == null ? null : attrValues.trim();
    }

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

   
}